﻿using System.Data;

namespace DataScripter.Scripting
{
    public interface IDataProducer
    {
        IDataReader ProduceData(ITableScriptRequest tableScriptRequest);
        IDataReader ProduceRelatedData(ITableScriptRequest tableScriptRequest, IDataReader parentRecord, ITableScriptRequest parentTable);
    }
}